home *** CD-ROM | disk | FTP | other *** search
/ 64'er Special 11 / 64er_Magazin_Sonderheft_11_86-11_1986_Markt__Technik_de_Side_A.d64 / programm nr. 1 (.txt) < prev    next >
Commodore BASIC  |  2022-10-26  |  440b  |  26 lines

  1. 100 rem   ***   programm nr.1   ***
  2. 110 :
  3. 120 ifz=0thenz=1:load"grafik modul",8,1
  4. 130 cls=938:plot=820
  5. 140 :
  6. 150 x0=160:y0=100  :rem  mittelpunkt
  7. 160 xr=90 :yr=80   :rem  x & y-radius
  8. 170 :
  9. 180 poke53265,59:poke53272,24:print"[147]"
  10. 190 sys cls
  11. 200 :
  12. 210 fora=0to90step.5
  13. 220 b=a*(NULL)/180
  14. 230 x=cos(b)*xr:y=sin(b)*yr
  15. 240 sys plot,x0+x,y0+y
  16. 250 sys plot,x0+x,y0-y
  17. 260 sys plot,x0-x,y0+y
  18. 270 sys plot,x0-x,y0-y
  19. 280 nexta
  20. 290 :
  21. 300 poke198,0:wait198,1:geta$
  22. 310 :
  23. 320 poke53265,27:poke53272,21
  24. 330 end
  25. 340 :
  26.